package com.twobu.twobuinsight.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "简化的任务历史DTO")
public class TaskHistorySimpleDTO {

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "用户指令")
    private String userInstruction;

    @Schema(description = "任务是否完成")
    private Boolean finishFlag;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
